package com.lyc.mall.service;

import com.lyc.mall.model.BO.AddGoodsBO;
import com.lyc.mall.model.PO.Type;
import com.lyc.mall.model.VO.GetGoodsByTypeVO;

import java.util.List;

public interface GoodsService {
    /**
     * 用来获取当前商城的所有商品分类
     * @return
     */
    List<Type> getType();

    List<GetGoodsByTypeVO> getGoodsByType(String typeId);

    void addGoods(AddGoodsBO addGoodsBO);
}
